<?php require_once 'Controller/Controller.Contato.Usuario.php'; ?>
<?php include('cabecalho.php'); ?>
<div id="miolo">
    <div id="categorias">
        <?php require_once 'menu_categorias.php'; ?>
    </div>
    <div id="conteudo">
        <div class="banner containers">
            <div>
                <form name="contato" action="<?php $PHP_SELF; ?>" method="POST"  onsubmit="return valida_email(contato)">
                    <div>
                        <p class="titulo-cadastro">Dados Pessoais</p>
                        <div>                                                                
                            <label for="nome"><strong>Nome.:</strong><font color="BE1E2D"><b>*</b></font></label>
                            <input type="text" name="nome" value="<?php echo $nome; ?>" onfocus="fundotextfiel(this,1)" onblur="fundotextfiel(this,0)" size="32" maxlength="32"/>
                            <font size="2">Ex.:(Renan Oliveira).</font>
                            <?php if (isset($erro['nome'])) echo $erro['nome']; ?><br>
                            <label for="email"><strong>E-mail.:</strong><font color="BE1E2D"><b>*</b></font></label>
                            <input type="text" name="email" value="<?php echo $email; ?>" onfocus="fundotextfiel(this,1)" onblur="fundotextfiel(this,0)" size="32" maxlength="32"/>
                            <font size="2">Ex.:(email@email.com).</font>
                            <?php if (isset($erro['email'])) echo $erro['email']; ?><br>
                            <label for="telefone"><strong>Telefone.:</strong><font color="BE1E2D"><b>*</b></font></label>
                            <input type="text" name="telefone" value="<?php echo $telefone; ?>" onfocus="fundotextfiel(this,1)" onblur="fundotextfiel(this,0)" size="18" maxlength="14"/>
                            <font size="2">Ex.:(01111223344).</font>
                            <?php if (isset($erro['telefone'])) echo $erro['telefone']; ?>
                            <br>
                            <label for="assunto"><strong>Assunto.:</strong><font color="BE1E2D"><b>*</b></font></label>
                            <input type="text" name="assunto" value="<?php echo $assunto; ?>"size="35" maxlength="35" onfocus="fundotextfiel(this,1)" onblur="fundotextfiel(this,0)"/><font size="2">Ex.: (Rhodes Full Acess 2012).</font>
                            <?php if (isset($erro['assunto'])) echo $erro['assunto']; ?><br><br>
                            &nbsp;<strong>Menssagem</strong><font color="BE1E2D"><b>*</b></font>(<span id="contaChar">300</span> caracteres).&nbsp;&nbsp;<?php if (isset($erro['mensagem'])) echo $erro['mensagem']; ?><br>
                            <textarea name="mensagem" cols="60" rows="8" onfocus="fundotextfiel(this,1)" onblur="fundotextfiel(this,0)" onkeyup="limitaemail(this,300)"><?php echo $mensagem; ?></textarea><br>
                            <a><font color="BE1E2D"><b>*</b></font>Campos de preenchimento obrigat&oacute;rio.</a>   
                        </div>
                    </div>
                    <div align="center">
                        <input type="submit" value="Enviar" class="bt_buscar"/>
                        <input type="reset" value="Limpar" class="bt_buscar"/>
                    </div>
                </form>
            </div>                        
        </div>                    
    </div>
</div>
<div id="promocoes">
    <div class="cx-prom"></div>
    <div class="cx-prom"></div>
    <div class="cx-prom"></div>
</div>
</div>
<?php include 'rodape.php'; ?>